package com.example.myweb.Dto;

import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class LikeRequestDTO {

    @NotBlank(message = "点赞目标类型不能为空")
    private String targetType; // "article", "dynamic", "comment"

    @NotNull(message = "点赞目标ID不能为空")
    private Long targetId;
}